package tst

println Object.metaClass.apply12334.getClass().getName()

Object.metaClass.apply = {
	println 'hello'
}
apply();

println Object.metaClass.apply.getClass().getName()

Object.metaClass.apply = {
	println 'world'
}
apply();
//println Object.metaClass.apply
//Object.metaClass.apply();
println Object.metaClass.apply
println Object.metaClass.apply
Object.metaClass.apply();

Object.metaClass.apply = {
	println 'haha'
}
apply();
//println Object.metaClass.apply
//Object.metaClass.apply();
//def a = Object.metaClass.apply;
//println a
//apply();